'''
Created on 2012-7-16

@author: wb_suoyao.shen
'''
from django.forms import ModelForm
from ssyblog.photos.models import Album
from ssyblog.photos.models import Photos

class AlbumForm(ModelForm):
    class Meta:
        model = Album
        fields = ('name', 'description')
        
class PhotosForm(ModelForm):
    class Meta:
        model = Photos
        fields = ('album','image','thumbnail','create_time')